package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 属性名表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("good_property")
@ApiModel(value = "GoodProperty对象", description = "属性名表")
public class GoodProperty implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "property_id", type = IdType.AUTO)
    private Integer propertyId;

    @ApiModelProperty("属性名")
    private String propertyName;

    @ApiModelProperty("关联分类id")
    private Integer goodCategoryId;

    @ApiModelProperty("逻辑删除(0正常，1删除)")
    private Integer deleted;

    public Integer getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(Integer propertyId) {
        this.propertyId = propertyId;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public Integer getGoodCategoryId() {
        return goodCategoryId;
    }

    public void setGoodCategoryId(Integer goodCategoryId) {
        this.goodCategoryId = goodCategoryId;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "GoodProperty{" +
        "propertyId = " + propertyId +
        ", propertyName = " + propertyName +
        ", goodCategoryId = " + goodCategoryId +
        ", deleted = " + deleted +
        "}";
    }
}
